﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
using System.Diagnostics;

namespace DomainModel
{
    [Table(Name = "main.Admin")]
    public partial class Admin
    {
        #region string AdminName

        private string _adminName;
        [DebuggerNonUserCode]
        [Column(Storage = "_adminName", Name = "AdminName", DbType = "nvarchar(24)")]
        public string AdminName
        {
            get
            {
                return _adminName;
            }
            set
            {
                if (value != _adminName)
                {
                    _adminName = value;
                }
            }
        }

        #endregion

        #region string AdminPwd

        private string _adminPwd;
        [DebuggerNonUserCode]
        [Column(Storage = "_adminPwd", Name = "AdminPwd", DbType = "nvarchar(128)")]
        public string AdminPwd
        {
            get
            {
                return _adminPwd;
            }
            set
            {
                if (value != _adminPwd)
                {
                    _adminPwd = value;
                }
            }
        }

        #endregion

        #region int? ID

        private int? _id;
        [DebuggerNonUserCode]
        [Column(Storage = "_id", Name = "ID", DbType = "INTEGER", IsPrimaryKey = true, IsDbGenerated = true)]
        public int? ID
        {
            get
            {
                return _id;
            }
            set
            {
                if (value != _id)
                {
                    _id = value;
                }
            }
        }

        #endregion

    }
}
